/* $Id$ */

/*
 * HTML elements
 */
:focus {
  outline: none;
}
html,
body {
  background: #222;
}
body {
  color: #333;
  font: 0.813em/160% "lucida sans unicode", "lucida grande", sans-serif;  /* 12px base font size */
}
h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  line-height: 120%;
  margin: 5px 0;
}
h1 {
  font-size: 1.846em;  /* 24px */
}
h2 {
  font-size: 1.538em;  /* 20px */
}
h3 {
  font-size: 1.385em;  /* 18px */
}
h4 {
  font-size: 1.231em;  /* 16px */
}
h5 {
  font-size: 1.154em;  /* 15px */
}
h6 {
  font-size: 1.077em;  /* 14px */
}
hr {
  border: 1px solid #ccc;
}
blockquote, fieldset, p, pre, table {
  margin: 10px 0;
}
blockquote {
  background: url(../images/blockquote.png) no-repeat 0 3px;
  font-style: italic;
  padding: 0 20px;
}
.codeblock, pre {
  line-height: 140%;
  margin: 10px 0;
}
a:link, a:visited, li a.active {
  color: #0074bd;
  text-decoration: none;
}
a:active, a:hover {
  text-decoration: underline;
}
abbr, acronym, cite {
  border-bottom: 1px dotted #ccc;
}
address, dfn, em, var {
  font-style: italic;
}
big {
  font-size: 120%;
}
.codeblock, code, kbd, pre, samp, tt {
  font: 1em "lucida console", monaco, monospace;
}
del {
  text-decoration: line-through;
}
ins {
  text-decoration: underline;
}
q {
  quotes: '\201C' '\201D' '\2018' '\2019';
}
q:before {
  content: open-quote;
}
q:after {
  content: close-quote;
}
small {
  font-size: 80%;
}
label, legend, strong {
  font-weight: bold;
}
sub, sup {
  font-size: xx-small;
}
sub {
  vertical-align: bottom;
}
sup {
  vertical-align: top;
}
dd {
  margin: 0 0 10px 10px;
}
ol, ul {
  margin-left: 24px;
}
ol li {
  list-style-type: decimal;
}
ul li {
  list-style-type: disc;
}
fieldset {
  background: transparent;
  border: 1px solid #ccc;
  padding: 10px;
}
table {
  border: 1px solid #bebfb9;
  width: 100%;
}
table table {
  border: 0;
}
thead th,
th {
  background: #e1e2dc;
  border-bottom: 1px solid #bebfb9;
  border-right: 1px solid #bebfb9;
  padding-right: 10px;
}
td, th {
  padding: 5px 10px;
  vertical-align: top;
}

/*
 * Layout styles
 */
#header {
  background: #0779bf url(../images/header.png) repeat-x bottom left;
}
#header-region {
  margin-top: 20px;
}
#header-region,
#header-region a {
  color: #fff;
}
#site-title {
  float: left;
  margin: 15px 0;
  width: 100%;
}
#logo {
  float: left;
  margin-right: 20px;
}
#site-name-and-slogan,
#site-name-and-slogan a {
  color: #fff;
}
#site-slogan {
  font: italic 1.231em georgia, serif;
}
#primary ul li,
#secondary ul li {
  float: left;
}
#primary ul li a,
#secondary ul li a {
  display: block;
  float: left;
}
#primary ul li {
  background: #c5e3f5 url(../images/menu-l.png) no-repeat 0 -60px;
  margin-right: 5px;
}
#primary ul li a {
  background: url(../images/menu-r.png) no-repeat 100% -60px;
  color: #333;
  padding: 8px 10px;
  text-decoration: none;
  text-shadow: #e0eff9 0 1px 0;
}
#primary ul li:hover {
  background-position: 0 -30px;
}
#primary ul li:hover a {
  background-position: 100% -30px;
}
#primary ul li.active-trail {
  background-position: 0 0;
}
#primary ul li.active-trail a {
  background-position: 100% 0;
  text-shadow: #fff 0 0 0;
}
/* Begin drop down menus for primary-links */
#primary ul li {
  position: relative;
  z-index: 998;  /* Try not to overlap Administration Menu drop down menus */
}
#primary ul li:hover {
  visibility: inherit;
}
#primary ul li.last,
#primary ul li ul li {
  margin-right: 0;
}
#primary ul li a {
  position: relative;
}
#primary ul li ul {
  position: absolute;
  top: -999em;
  width: 160px;
}
#primary ul li li {
  background: none;
  width: 100%;
}
#primary ul li li a {
  background: #e0f0fa;
  border-bottom: 1px solid #c2e0f2;
  border-top: 1px solid #f0f8fc;
  padding: 7px 10px;
  text-shadow: #fff 0 0 0;
  width: 140px;
}
#primary ul li li.first a {
  border-top: 0;
}
#primary ul li:hover ul,
#primary ul li.sfHover ul {
  left: 0;
  top: 29px;
  z-index: 99;
}
#primary ul li li.sfHover a,
#primary ul li li.active-trail a,
#primary ul li li a:active,
#primary ul li li a:hover,
#primary ul li li a.active {
  background: #cfe5f3;
  border-top-color: #e0f0fa;
}
#primary ul li:hover,
#primary ul li.sfHover,
#primary ul li.active-trail a,
#primary ul a:focus,
#primary ul a:hover,
#primary ul a:active,
#primary ul a.active {
  outline: 0;
}
#primary ul li:hover li ul,
#primary ul li.sfHover li ul,
#primary ul li li:hover li ul,
#primary ul li li.sfHover li ul {
  top: -999em;
}
#primary ul li li:hover ul,
#primary ul li li.sfHover ul,
#primary ul li li li:hover ul,
#primary ul li li li.sfHover ul {
  left: 160px;
  top: 0;
}
/* End drop down menus for primary-links */
#main-wrapper {
  background: #fff;
  min-height: 300px;
  padding: 30px 0;
}
#footer {
  font-size: 0.923em;
  margin: 25px 0;
}
#footer,
#footer a {
  color: #fff;
}
#secondary,
#footer-message {
  margin-bottom: 10px;
}
#secondary ul li {
  border-right: 1px solid #fff;
  padding: 0 10px;
}
#secondary ul li.first {
  padding-left: 0;
}
#secondary ul li.last {
  border-right: 0;
  padding-right: 0;
}
#secondary ul li.active-trail a {
  font-weight: bold;
}
#theme-credits {
  color: #666;
}
#theme-credits a {
  color: #999;
}

/*
 * Block module
 */
#blocks td.region {
  background: #fff;
  border-bottom: 0;
}
.block-region {
  background: #fff4cb;
  border: 2px solid #ffc46e;
  color: #333;
  margin: 0 0 20px 0;
  padding: 5px 10px;
}
div.block {
  margin-bottom: 20px;
}
.block-subject {
  border-bottom-color: transparent;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  font: 1.231em georgia, serif;
  margin-top: 0;
  padding: 0 0 5px 0;
}
#header .block-subject {
  border-bottom-color: #1f8acc;
}
.sidebar .block-b {
  background: #f6f6f2 url(../images/block-b.png) no-repeat bottom left;
}
.sidebar .block-t {
  background: url(../images/block-t.png) no-repeat top left;
  padding: 15px;
}
.sidebar .block-subject {
  border-bottom-color: #e4e4dd;
}
#content-content .block-1 {
  margin-top: 20px;
}
#content-content .block {
  border-bottom: 1px solid #d6d6d6;
  padding-bottom: 20px;
}
#footer .block-subject {
  border-bottom-color: #333;
}

/*
 * System module
 */
/* Table styles */
tr.odd,
tr.even {
  border-bottom: 0;
}
tr.odd {
  background-color: #fff;
}
tr.even {
  background-color: #f3f4ee;
}
tr.drag {
  background-color: #fffdee;
}
tr.drag-previous {
  background-color: #fffbd6;
}
tr.odd td.active {
  background-color: #f3f4ee;
}
tr.even td.active {
  background-color: #e9e9dd;
}
th.active {
  background-color: #bdbeb9;
}
tr.selected td {
  background: #ffc;
}
tr.selected td.active {
  background: #f3f3b5;
}
table.sticky-header {
  background: #fff;
  z-index: 999;
}

/* Administration panels */
div.admin-panel {
  background: #f9f9f9;
  border: 1px solid #c4c4c4;
  margin: 0 0 15px 0;
  padding: 10px;
}
div.admin-panel h3 {
  margin-top: 0;
}
div.admin .left {
  margin-left: 0;
  width: 48%;
}
div.admin .right {
  margin-right: 0;
  width: 48%;
}

/* Themes and modules listing */
.theme-info h2 {
  font-size: 1.538em;
}
table.package .description .admin-required {
  color: #999;
}

/* Status report */
table.system-status-report tr.info td,
table.system-status-report tr.info th {
  background: #bdf;
}
table.system-status-report tr th,
table.system-status-report tr td {
  border-bottom: 1px solid #ccc;
}
table.system-status-report tr.merge-up td {
  border-top: 1px solid #ccc !important;
}
table.system-status-report tr.ok td,
table.system-status-report tr.ok th {
  background-color: #dfd;
}
table.system-status-report tr.warning td,
table.system-status-report tr.warning th {
  background-color: #ffd;
}
table.system-status-report tr.error td,
table.system-status-report tr.error th {
  background-color: #fdd;
}
table.system-status-report td {
  padding: 6px;
}

/* Messages */
div.messages,
div.ok,
div.warning,
div.error {
  background-color: #f8fff0;
  background-image: url(../images/icon-status.png);
  background-position: 8px 8px;
  background-repeat: no-repeat;
  border-color: #be7;
  border-style: solid;
  border-width: 1px;
  clear: both;
  font-size: 1em;
  margin: 0 0 10px 0;
  padding: 10px 10px 10px 40px;
}
div.messages,
div.messages a,
div.ok,
div.ok a {
  color: #234600;
}
div.warning {
  background-color: #fffce5;
  background-image: url(../images/icon-warning.png);
  border-color: #ed5;
}
div.warning,
div.warning a {
  color: #840;
}
div.error {
  background-color: #fef5f1;
  background-image: url(../images/icon-error.png);
  border-color: #ed541d;
}
div.error,
div.error a {
  color: #8c2e0b;
}
div.messages a,
div.ok a,
div.warning a,
div.error a {
  font-weight: bold;
}

/* Item lists */
.item-list ul,
.block ul {
  margin: 0 0 0 24px;
}
.item-list ul li,
.block ul li {
  margin-left: 0;
}

/* Form elements */
.form-file,
.form-select,
.form-submit,
.form-text,
.form-textarea,
.teaser-button {
  font: 1em "lucida sans unicode", "lucida grande", sans-serif;
}
.form-file,
.form-select,
.form-text,
.form-textarea {
  background: #fff;
  border-style: solid;
  border-width: 1px;
  border-top-color: #999;
  border-right-color: #ccc;
  border-bottom-color: #ccc;
  border-left-color: #999;
  color: #333;
  padding: 4px;
}
.form-file:focus,
.form-select:focus,
.form-text:focus,
.form-textarea:focus {
  border-top-color: #be974b;
  border-right-color: #f1ca7f;
  border-bottom-color: #f1ca7f;
  border-left-color: #be974b;
}
.form-file[disabled=disabled],
.form-select[disabled=disabled],
.form-text[disabled=disabled],
.form-textarea[disabled=disabled] {
  background: #f3f3f3;
  color: #999;
}
.form-file[readonly=readonly],
.form-select[readonly=readonly],
.form-text[readonly=readonly],
.form-textarea[readonly=readonly] {
  color: #999;
}
.form-item input.error,
.form-item select.error,
.form-item textarea.error {
  border: 2px solid #f00;
}
.form-submit,
.teaser-button {
  background: #e0e0e0 url(../images/button.png) repeat-x top left;
  border-style: solid;
  border-width: 1px;
  border-top-color: #e4e4e4;
  border-right-color: #d2d2d2;
  border-bottom-color: #b4b4b4;
  border-left-color: #d2d2d2;
  border-radius: 20px;
  -moz-border-radius: 20px;
  -webkit-border-radius: 20px;
  color: #444;
  cursor: pointer;
  font-size: 1.077em;
  margin: 0;
  overflow: visible;
  padding: 3px 8px;
}
.form-submit:hover,
.teaser-button:hover {
  background: #f3f3f3;
}
.form-submit:active,
.teaser-button:active {
  background: #666;
  border-color: #333;
  color: #fff;
}
.form-item .description,
.tips {
  color: #999;
  font-size: 1em;
}
.tips {
  margin-bottom: 10px;
}
.form-required,
.marker {
  color: #ff9000;
}

/* Pager */
.item-list ul.pager {
  clear: both;
  text-align: center;
}
.item-list ul.pager li {
  background-image: none;
  display: inline;
  list-style-type: none;
  margin: 0 3px !important;
  padding: 5px;
}
.item-list ul.pager li.pager-current {
  color: #012b37;
  font-weight: bold;
  padding: 3px 6px;
}
.item-list ul.pager li a {
  font-weight: bold;
  padding: 3px 6px;
}
.item-list ul.pager li a:active
.item-list ul.pager li a:hover,
.item-list ul.pager li a.active:active,
.item-list ul.pager li a.active:hover {
  text-decoration: underline;
}

/* Primary and secondary tabs */
ul.primary,
ul.primary li,
ul.primary li a,
ul.primary li a.active,
ul.primary li.active a,
ul.secondary,
ul.secondary li,
ul.secondary li a,
ul.secondary li a.active,
ul.secondary li.active a {
  background: transparent;
  border: 0;
  line-height: 1;
  margin: 0;
  padding: 0;
}
ul.primary li a:hover,
ul.secondary li a:hover {
  background: transparent;
  text-decoration: underline;
}
ul.primary li,
ul.secondary li {
  float: left;
  margin-left: 5px;
}
ul.primary li a,
ul.primary li a.active,
ul.primary li.active a,
ul.secondary li a,
ul.secondary li a.active,
ul.secondary li.active a {
  display: block;
  float: left;
  margin-bottom: -1px;
  padding: 4px 8px;
}
ul.primary,
ul.secondary {
  border-bottom: 1px solid #bbb;
  float: left;
  margin-bottom: 10px;
  width: 100%;
}
ul.primary li a.active,
ul.primary li.active a {
  border: 1px solid #bbb;
  border-bottom: 1px solid #fff;
  border-top-left-radius: 5px;
  -moz-border-radius-topleft: 5px;
  -webkit-border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  -moz-border-radius-topright: 5px;
  -webkit-border-top-right-radius: 5px;
  font-weight: bold;
}
ul.secondary {
  padding: 0 0 5px 0;
}
ul.secondary li {
  margin-left: 15px;
}
ul.secondary li a,
ul.secondary li a.active,
ul.secondary li.active a {
  border-bottom: 3px solid transparent;
  padding-left: 0;
  padding-right: 0;
  text-decoration: none;
}
ul.secondary li a.active,
ul.secondary li.active a {
  border-bottom-color: #ccc;
}
ul.secondary li a:hover {
  border-bottom-color: #aaa;
  text-decoration: none;
}

/* Progress bar */
.progress .bar {
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  background: #ccc;
  border: 1px solid #666;
}
.progress .filled {
  background: #0072b9 url(../images/progress.gif);
  width: 5px;
}

/* AJAX throbber */
html.js input.form-autocomplete {
  background-position: 100% 5px;
}
html.js input.throbbing {
  background-position: 100% -15px;
}

/*
 * Node module
 */
.node {
  margin-bottom: 20px;
}
.node-unpublished {
  background: #fff4f4;
}
.preview .node {
  background: #ffffeA;
}
#node-admin-filter ul li {
  list-style-type: none;
}
#node-admin-filter .form-item {
  margin-bottom: 10px;
}
td.revision-current {
  background: #ffc;
}
.node .submitted {
  color: #999;
  font-size: 1em;
  margin: 5px 0;
}
.node .picture {
  float: right;
  margin: 0 0 1em 1em;
}
.node .terms {
  margin: 20px 0 10px 0;
}
.node .terms ul.links li {
  margin-right: 3px;
}
.node .terms ul.links li.first {
  margin-left: 5px;
}
.node .terms ul.links li:after {
  content: ", ";
}
.node .terms ul.links li.last:after {
  content: "";
}
.node-links {
  text-align: right;
}
.node-links ul li {
  margin-left: 10px;
}

/*
 * Book module
 */
.book-navigation {
  border-top: 1px solid #ccc;
  float: left;
  margin: 10px 0;
  width: 100%;
}
.book-navigation ul.menu {
  border-top: 0;
  padding: 5px 0 10px 0;
}
.book-navigation ul.menu li {
  list-style-image: none;
  list-style-type: disc;
}
.book-navigation .page-links {
  border-bottom: 1px solid #ccc;
  border-top: 1px solid #ccc;
  padding: 5px 0;
}
#book-outline {
  min-width: 100%;
  width: auto !important;
  width: 100%;
}

/*
 * Comment module
 */
.indented {
  margin-left: 20px;
}
.comment {
  background: #edf3f7;
  margin-bottom: 20px;
  padding: 15px;
}
.comment-by-author {
  background: #e2e9ed;
}
.comment-unpublished {
  background: #fff4f4;
}
.preview .comment {
  background: #ffffea;
}
.comment .submitted {
  color: #999;
  font-size: 1em;
}
.comment .new {
  color: #ff9000;
  float: right;
  font-size: 1em;
  font-weight: bold;
}
.comment .picture {
  float: right;
  margin: 0 0 1em 1em;
}
.comments-title {
  margin-bottom: 20px;
}
.comment-links {
  text-align: right;
}
.comment-links ul li {
  margin-left: 10px;
}
#comments .box {
  background: #f6fafc;
  padding: 15px;
}

/*
 * Poll module
 */
.poll .bar {
  background: #e1e2dc;
}
.poll .bar .foreground {
  background-color: #7d7e77;
}
.poll .vote-form {
  text-align: left;
}
.poll .vote-form .choices {
  margin: 0;
}
.poll .title {
  font-weight: bold;
  margin-bottom: 10px;
}

/*
 * Forum module
 */
#forum .description {
  font-size: 1em;
  margin: 0 0 0 10px;
}
#forum div.indent {
  margin-left: 5px;
}
#forum td.forum {
  background-position: 10px 7px !important;
  padding-left: 35px !important;
}
.forum-topic-navigation {
  border-bottom: 1px solid #cfcfcf;
  border-top: 1px solid #cfcfcf;
  float: left;
  margin: 10px 0;
  padding: 0;
  width: 100%;
}
.forum-topic-navigation .topic-previous {
  margin: 5px 0;
  text-align: left;
}
.forum-topic-navigation .topic-next {
  margin: 5px 0;
  text-align: right;
}

/*
 * Agregator module
 */
#aggregator .feed-source .feed-icon {
  display: block;
  float: right;
}
#aggregator .feed-description {
  margin: 10px 0;
}
#aggregator .feed-source,
#aggregator .feed-item {
  margin-bottom: 20px;
}
#aggregator .feed-item-title {
  font-size: 1.667em;
  margin-bottom: 5px;
}
#aggregator .feed-item-meta,
#aggregator .feed-item-categories {
  color: #999;
  font-size: 1em;
}
#aggregator td {
  vertical-align: top;
}

/*
 * Database Logging module
 */
#admin-dblog tr.dblog-warning.even td {
  background-color: #fbfbda;
}
#admin-dblog tr.dblog-warning.odd td {
  background-color: #fefeeb;
}
#admin-dblog tr.dblog-warning.even td.active {
  background-color: #f3f3b7;
}
#admin-dblog tr.dblog-warning.odd td.active {
  background-color: #f6f6c7;
}
#admin-dblog tr.dblog-error.even td {
  background-color: #fbdada;
}
#admin-dblog tr.dblog-error.odd td {
  background-color: #fce2e2;
}
#admin-dblog tr.dblog-error.even td.active {
  background-color: #f2c6c6;
}
#admin-dblog tr.dblog-error.odd td.active {
  background-color: #f3cfcf;
}

/*
 * Profile module
 */
.profile {
  clear: both;
  margin: 10px 0;
}
.profile h3 {
  border-bottom: 0;
}
.picture {
  float: right;
  margin: 0 0 1em 1em;
}

/*
 * Search module
 */
.search-results p {
  margin-top: 10px;
}
.search-results dt {
  font-size: 1.667em;
  margin-top: 10px;
}
.search-results dd {
  margin-bottom: 10px;
}
.search-results .search-info {
  color: #999;
  font-size: 1em;
}
#sidebar-left #search-block-form .form-text,
#sidebar-right #search-block-form .form-text {
  width: 135px;
}
#sidebar-left #search-block-form .form-submit,
#sidebar-right #search-block-form .form-submit {
  background: #e6e6e6 url(../images/search.png) no-repeat center center;
  border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  float: right;
  font-size: 0;
  height: 25px;
  line-height: 0;
  text-indent: -999em;
  width: 32px;
}

/*
 * Update module
 */
.update .project {
  font-size: 110%;
  font-weight: bold;
  height: 22px;
  padding-left: 0.25em;
}
.update .version-status {
  float: right;
  font-size: 110%;
  height: 20px;
  padding-right: 10px;
}
.update .version-status .icon {
  padding-left: 0.5em;
}
.update .info {
  margin: 0;
  padding: 1em 1em 0.25em 1em;
}
.update tr td {
  border-bottom: 1px solid #ccc;
  border-top: 1px solid #ccc;
}
.update tr.error {
  background: #fcc;
}
.update tr.error .version-recommended {
  background: #fdd;
}
.update tr.ok {
  background: #dfd;
}
.update tr.warning {
  background: #ffd;
}
.update tr.warning .version-recommended {
  background: #ffe;
}
.update table.version td,
.update table.version tr {
  border: none;
  line-height: 0.9em;
  margin: 0;
  padding: 0;
}
.update table.version .version-title {
  padding-left: 1em;
  width: 14em;
}
.update table.version .version-details {
  padding-right: 0.5em;
}
.update table.version .version-links {
  padding-right: 1em;
  text-align: right;
}
.update table.version-security .version-title {
  color: #970f00;
}
.update table.version-recommended-strong .version-title {
  font-weight: bold;
}
.update .security-error {
  color: #970f00;
  font-weight: bold;
}
.update .check-manually {
  padding-left: 1em;
}

/*
 * User module
 */
#permissions td.module {
  background: #fff;
  border-bottom: 0;
}
#user-login-form {
  text-align: left;
}
#user-login-form .item-list ul {
  margin-left: 10px;
  margin-top: 5px;
}
.block-user #user-login-form .form-text {
  width: 80%;
}
#user-admin-filter ul li {
  list-style-type: none;
}
#user-admin-filter .form-item {
  margin-bottom: 10px;
}
#user-admin-settings fieldset .description {
  font-size: 1em;
  padding-bottom: 5px;
}

/*
 * Administration Menu module
 */
#admin-menu {
  font: 0.917em "lucida sans unicode", "lucida grande", sans-serif;
}
body.admin-menu {
  margin-top: 25px !important;
}

/*
 * Vertical Tabs module
 */
.vertical-tabs ul li {
  list-style-type: none;
}
